module.exports = {
  publicPath: './',
  outputDir: 'build',
  lintOnSave: false,
  chainWebpack: config =>{
    config.plugin('html').tap(args => {
        args[0].title = '立项审批管理';
        return args;
    })
  },
  devServer: {
    proxy : {
      "/api" : {
          target: "http://10.11.21.106:80",
          changeOrigin: true,
          secure: false,
          ws: false,
          pathRewrite: {
              "^/api" : ""
          }
      }
      // "/":{
      //   changeOrigin: true,
      // }
    }
  }
};
